/* 变量 */
body {
  font-size: 14px;
  color: #666;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 40px;
  background-color: red;
  display: flex;
}
header .logo {
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .logo i {
  width: 57px;
  height: 21px;
  background-image: url("../images/jd-sprites.png");
  background-size: 200px 200px;
  background-position: 0 -110px;
}
header .login {
  width: 50px;
  font-size: 14px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .search {
  flex: 1;
  padding: 5px 0;
  position: relative;
}
header .search::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 11px;
  width: 20px;
  height: 20px;
  background-image: url("../images/jd-sprites.png");
  background-size: 200px 200px;
  background-position: -60px -110px;
}
header .search input {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  text-indent: 30px;
}
/* 导航 */
nav {
  display: flex;
  flex-wrap: wrap;
}
nav a {
  width: 25%;
  text-align: center;
  padding: 0.15625rem 0;
  font-size: 0.4375rem;
}
nav a img {
  width: 50%;
  display: inline-block;
}
/*  掌上秒杀 */
.hand_kill {
  /* 标题 */
  /* 内容 */
}
.hand_kill .hand_kill_title {
  display: flex;
  justify-content: space-between;
  padding: 0.15625rem;
  font-size: 0.4375rem;
  /* 闹钟 */
  /* 文字提示 */
  /* 时间 */
  /* 超链接 */
}
.hand_kill .hand_kill_title .hand_kill_name {
  color: #c91523;
}
.hand_kill .hand_kill_title .time span {
  background-color: #000;
  color: #fff;
}
.hand_kill .hand_kill_title .time span:nth-child(3n) {
  background-color: #fff;
  color: #000;
}
.hand_kill .hand_kill_title > a {
  color: #c91523;
}
.hand_kill .hand_kill_content {
  display: flex;
  font-size: 0.4375rem;
}
.hand_kill .hand_kill_content a {
  flex: 1;
  position: relative;
  text-align: center;
}
.hand_kill .hand_kill_content a .tips {
  background-color: #fdb60a;
  color: #fff;
  border-radius: 50%;
  padding: 0.0625rem 0.15625rem;
  position: absolute;
  bottom: 30%;
  right: 30%;
}
.hand_kill .hand_kill_content a .news_prices {
  font-size: 0.5rem;
  color: #c91523;
}
/* 618 主题日 */
.theme_day .theme_day_title {
  position: relative;
}
.theme_day .theme_day_title ul {
  position: absolute;
  /* 宽度 变成了内容撑开了 图片-自带宽度 */
  width: 100%;
  bottom: 0.15625rem;
  left: 0;
}
.theme_day .theme_day_title ul li {
  padding: 0.0625rem;
  float: left;
  width: 50%;
}
.theme_day .theme_day_content {
  display: flex;
  flex-wrap: wrap;
}
.theme_day .theme_day_content a {
  /* 前3张 33.33% */
  /* 后4张 50% */
}
.theme_day .theme_day_content a:nth-child(-n + 3) {
  width: 33.33%;
}
.theme_day .theme_day_content a:nth-last-child(-n + 4) {
  width: 50%;
}
/* 公共的商品标题 */
.goods_title {
  font-weight: 600;
  color: #c91523;
  font-size: 0.5rem;
}
/* 超市 */
.market .market_content a {
  width: 50%;
  float: left;
}
.market .market_content a:nth-child(3) {
  padding-bottom: 1px;
}
/* 主题街 */
.theme_stree .theme_stree_content a {
  float: left;
  width: 25%;
}
.theme_stree .theme_stree_content a:nth-child(-n + 2) {
  width: 50%;
}
.theme_stree .theme_stree_content a:nth-child(2) {
  padding-bottom: 1px;
}
/* 品牌推荐 */
.recommend .recommend_content {
  display: flex;
}
.recommend .recommend_content a {
  flex: 3;
}
.recommend .recommend_content a:first-child {
  flex: 4;
}
/* 猜你喜欢 */
.guess .guess_title {
  display: flex;
  justify-content: space-between;
  padding: 0.15625rem;
}
.guess .guess_title a {
  font-weight: normal;
  font-size: 0.40625rem;
}
.guess .guess_title a img {
  width: 0.5625rem;
  height: 0.5625rem;
  display: inline-block;
  vertical-align: middle;
}
.guess .guess_content ul {
  display: flex;
  flex-wrap: wrap;
}
.guess .guess_content ul li {
  width: 50%;
  padding: 0.15625rem;
  /* 价格 */
  /* 详情 */
}
.guess .guess_content ul li .goods_prices {
  display: flex;
  justify-content: space-between;
}
.guess .guess_content ul li .goods_prices span {
  color: #c91523;
  font-size: 0.4375rem;
}
.guess .guess_content ul li .goods_prices a {
  color: #666;
  border: 0.03125rem solid #ccc;
  font-size: 0.40625rem;
}
.guess .guess_content ul li .goods_info img {
  width: 80%;
  margin: 0 auto;
}
.guess .guess_content ul li .goods_info p {
  color: #000;
  overflow: hidden;
  height: 1.1875rem;
  border-bottom: 0.03125rem solid #000;
}
/* 底部工具栏 */
.btm_tool {
  text-align: center;
  background-color: #f3f5f7;
  /* 加载更多 */
  /* 注册 */
  /* 设备 */
}
.btm_tool > * {
  padding: 0.3125rem 0;
  border-top: 0.03125rem solid #000;
}
.btm_tool .more {
  display: block;
}
.btm_tool .register {
  display: flex;
}
.btm_tool .register a {
  flex: 1;
  border-right: 0.03125rem solid #000;
}
.btm_tool .register a:last-child {
  border-right: none;
}
.btm_tool .devices {
  display: flex;
}
.btm_tool .devices a {
  flex: 1;
}
.btm_tool .devices a span {
  display: inline-block;
  width: 1.03125rem;
  height: 1.03125rem;
  background-color: red;
}
footer {
  background-color: #fff;
  /* 块级元素加定位之后 宽度=内容撑开 */
  width: 100%;
  height: 50px;
  display: flex;
  position: fixed;
  left: 0;
  bottom: 0;
}
footer a {
  flex: 1;
}
footer a img {
  width: 64px;
  margin: 0 auto;
}
body {
  padding-bottom: 50px;
}
